package com.blm.entity;

import lombok.Data;
import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
public class Rider {
    public enum RiderStatus {
        ONLINE,
        OFFLINE,
        SUSPENDED,
    }

    public enum VehicleType {
        BIKE,
        MOTORBIKE,
        ELECTRIC,
        MOTORCYCLE,  // 添加这个缺失的枚举常量
    }

    private Long id;
    private Long userId;
    private String realName;
    private String idCard;
    private String idCardFront;
    private String idCardBack;
    private VehicleType vehicleType;
    private String vehicleNumber;
    private RiderStatus status;
    private BigDecimal longitude;
    private BigDecimal latitude;
    private LocalDateTime createdAt;
    private LocalDateTime updatedAt;
}